package com.cskaoyan.service;

import com.cskaoyan.bean.Coupon;
import com.cskaoyan.bean.CouponUserListRequestVo;
import com.cskaoyan.bean.CouponResponseVo;

import java.util.Map;

public interface CouponService {

    Map<String, Object> CouponList(CouponResponseVo couponResponseVo);

    Coupon addCoupon(Coupon coupon);

    Coupon readCouponById(Integer id);

    Map<String, Object> getCouponUsers(CouponUserListRequestVo requestVo);

    Coupon updateCoupon(Coupon coupon);

    int deleteCoupon(Coupon coupon);
}
